namespace Project_Flight.intrnl
{
    public class FlightDBMetaData
        : Sybase.Reflection.DatabaseMetaData
    {
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public FlightDBMetaData()
        {
            _init();
        }
        
        protected void _init()
        {
            Sybase.Reflection.ClassMetaDataList _classList = new Sybase.Reflection.ClassMetaDataList(20);
            Sybase.Reflection.ClassMap _classMap = new Sybase.Reflection.ClassMap();
            SetClassList(_classList);
            SetClassMap(_classMap);
            Project_Flight.intrnl.FlightListMetaData _FlightListMetaData = new Project_Flight.intrnl.FlightListMetaData();
            _classList.Add(_FlightListMetaData);
            _classMap.Add("FlightList", _FlightListMetaData);
            Project_Flight.intrnl.MBO_CustomerMetaData _MBO_CustomerMetaData = new Project_Flight.intrnl.MBO_CustomerMetaData();
            _classList.Add(_MBO_CustomerMetaData);
            _classMap.Add("MBO_Customer", _MBO_CustomerMetaData);
            Project_Flight.intrnl.LogRecordImplMetaData _LogRecordImplMetaData = new Project_Flight.intrnl.LogRecordImplMetaData();
            _classList.Add(_LogRecordImplMetaData);
            _classMap.Add("LogRecordImpl", _LogRecordImplMetaData);
            Project_Flight.intrnl.PackagePropertiesMetaData _PackagePropertiesMetaData = new Project_Flight.intrnl.PackagePropertiesMetaData();
            _classList.Add(_PackagePropertiesMetaData);
            _classMap.Add("PackageProperties", _PackagePropertiesMetaData);
            Project_Flight.intrnl.ChangeLogImplMetaData _ChangeLogImplMetaData = new Project_Flight.intrnl.ChangeLogImplMetaData();
            _classList.Add(_ChangeLogImplMetaData);
            _classMap.Add("ChangeLogImpl", _ChangeLogImplMetaData);
            Sybase.Reflection.EntityMetaDataList _entityList = new Sybase.Reflection.EntityMetaDataList(20);
            Sybase.Reflection.EntityMap _entityMap = new Sybase.Reflection.EntityMap();
            SetEntityList(_entityList);
            SetEntityMap(_entityMap);
            _entityList.Add(_FlightListMetaData);
            _entityMap.Add("FlightList", _FlightListMetaData);
            _entityList.Add(_MBO_CustomerMetaData);
            _entityMap.Add("MBO_Customer", _MBO_CustomerMetaData);
            _entityList.Add(_LogRecordImplMetaData);
            _entityMap.Add("LogRecordImpl", _LogRecordImplMetaData);
            _entityList.Add(_PackagePropertiesMetaData);
            _entityMap.Add("PackageProperties", _PackagePropertiesMetaData);
            _entityList.Add(_ChangeLogImplMetaData);
            _entityMap.Add("ChangeLogImpl", _ChangeLogImplMetaData);
            Sybase.Collections.StringList _publications = new Sybase.Collections.StringList(20);
            Sybase.Reflection.EntityListMap _publicationsToEntities = new Sybase.Reflection.EntityListMap();
            _publications.Add("default");
            Sybase.Reflection.EntityMetaDataList defaultEntities = new Sybase.Reflection.EntityMetaDataList(20);
            defaultEntities.Add(_FlightListMetaData);
            defaultEntities.Add(_MBO_CustomerMetaData);
            defaultEntities.Add(_LogRecordImplMetaData);
            defaultEntities.Add(_PackagePropertiesMetaData);
            defaultEntities.Add(_ChangeLogImplMetaData);
            _publicationsToEntities.Add("default", defaultEntities);
            Sybase.Reflection.EntityMetaDataList unsubscribeEntities = new Sybase.Reflection.EntityMetaDataList(20);
            unsubscribeEntities.Add(_LogRecordImplMetaData);
            unsubscribeEntities.Add(_PackagePropertiesMetaData);
            _publicationsToEntities.Add("unsubscribe", unsubscribeEntities);
            _publications.Add("system");
            Sybase.Reflection.EntityMetaDataList systemEntities = new Sybase.Reflection.EntityMetaDataList(20);
            systemEntities.Add(_LogRecordImplMetaData);
            systemEntities.Add(_PackagePropertiesMetaData);
            _publicationsToEntities.Add("system", systemEntities);
            _publications.Add("initialSync");
            Sybase.Reflection.EntityMetaDataList initialSyncEntities = new Sybase.Reflection.EntityMetaDataList(20);
            initialSyncEntities.Add(_PackagePropertiesMetaData);
            _publicationsToEntities.Add("initialSync", initialSyncEntities);
            SetDatabaseFile("flight1_0.udb");
            SetDatabaseName("flight1_0");
            InitEntityListMap(_publicationsToEntities);
            SetSynchronizationGroups(_publications);
        }
        
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public  override bool IsEntity()
        {
            return false;
        }
        
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public  override bool IsService()
        {
            return false;
        }
    }
}